package com.apex.crm.service;

import com.apex.crm.base.BaseService;
import com.apex.crm.dao.PermissionMapper;
import com.apex.crm.vo.Permission;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @program: crm
 * @Classname PermissionService
 * @description TODO
 * @date 2021/6/8 23:34
 */

@Service
public class PermissionService extends BaseService<Permission,Integer> {


    @Resource
    private PermissionMapper permissionMapper;


    public Integer saveBatch(List<Permission> permissions) {
        return permissionMapper.insertBatch(permissions);
    }
}
